package minisoft.application.loterryservice;

public class User {

	// private String province;
	private String region;
	private String device;
	private String registration;
	private String messageMode;
	private Boolean ringMode;
	private Boolean vibrateMode;

	public User() {
	}

	public User(String region, String device, String registration,
			String messageMode, Boolean ringMode, Boolean vibrateMode) {
		this.region = region;
		// this.province = province;
		this.device = device;
		this.registration = registration;
		this.messageMode = messageMode;
		this.ringMode = ringMode;
		this.vibrateMode = vibrateMode;
	}

	/*
	 * public String getProvince() { return province; } public void
	 * setProvince(String province) { this.province = province; }
	 */
	public String getDevice() {
		return device;
	}

	public void setDevice(String device) {
		this.device = device;
	}

	public String getRegistration() {
		return registration;
	}

	public void setRegistration(String registration) {
		this.registration = registration;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getMessageMode() {
		return messageMode;
	}

	public void setMessageMode(String messageMode) {
		this.messageMode = messageMode;
	}

	public Boolean getRingMode() {
		return ringMode;
	}

	public void setRingMode(Boolean ringMode) {
		this.ringMode = ringMode;
	}

	public Boolean getVibrateMode() {
		return vibrateMode;
	}

	public void setVibrateMode(Boolean vibrateMode) {
		this.vibrateMode = vibrateMode;
	}

	// will be used by the UserAdapter in the ListView
	@Override
	public String toString() {
		return registration;
	}
}
